package cn.smbms.dao.provider;

import java.sql.Connection;
import java.util.List;

import cn.smbms.pojo.Bill;
import cn.smbms.pojo.Provider;

public interface ProviderMapper {

	//根据输入的参数查询
	public List<Provider> findProviderListByCodeAndName(Provider provider);
	
	//添加供应商信息
	public int insertProvider(Provider provider);
	
	//查看单个供应商信息
	public Provider findOneProviderById(int id);
	
	//修改供应商信息
	public int updateProvider(Provider provider);
	
	//删除供应商信息
	public int deleteProvider(int id);
	
}
